<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <title>填写订单</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="author" content="沐硕">
    <meta name="keywords" content="物美廉价">
    <meta name="description" content="一个值得相信的网站">

    <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="style.css">

    <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/Swiper/9.4.1/swiper-bundle.min.css" />

    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500&family=Lato:wght@300;400;700&display=swap" rel="stylesheet">

    <link rel="stylesheet" type="text/css" href="css/Animation.css">

<%--    <style>--%>
<%--        .shopify-cart {--%>
<%--            background-color: #f9f9f9;--%>
<%--            font-family: Arial, sans-serif;--%>
<%--        }--%>
<%--        .checkout-wrap {--%>
<%--            padding: 20px;--%>
<%--        }--%>
<%--        .billing-details {--%>
<%--            background-color: #fff;--%>
<%--            padding: 20px;--%>
<%--            border-radius: 5px;--%>
<%--            box-shadow: 0 0 10px rgba(0,0,0,0.1);--%>
<%--        }--%>
<%--        .form-control {--%>
<%--            width: 100%;--%>
<%--            padding: 10px;--%>
<%--            margin-bottom: 10px;--%>
<%--            border: 1px solid #ccc;--%>
<%--            border-radius: 5px;--%>
<%--            box-sizing: border-box;--%>
<%--        }--%>
<%--        .btn {--%>
<%--            padding: 10px 20px;--%>
<%--            border: none;--%>
<%--            border-radius: 5px;--%>
<%--            background-color: #333;--%>
<%--            color: #fff;--%>
<%--            cursor: pointer;--%>
<%--        }--%>
<%--    </style>--%>

</head>
<body>
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
    <jsp:include page="symol.jsp" />
</svg>

<!--搜索框-->
<div class="search-popup">
    <!-- 搜索弹出框容器 -->
    <jsp:include page="search.jsp" />
</div>
<!--头部-->
<header id="header" class="site-header header-scrolled position-fixed text-black bg-light">
    <!-- 头部开始，具有类名site-header、header-scrolled、position-fixed、text-black和bg-light -->
    <jsp:include page="header.jsp" />
    <!-- 导航条结束 -->
</header>
<section class="hero-section position-relative bg-light-blue padding-medium">
    <div class="hero-content">
        <div class="container">
            <div class="row">
                <div class="text-center padding-large no-padding-bottom">
                    <h1 class="display-2 text-uppercase text-dark">支付</h1>
                    <div class="breadcrumbs">
                        <span class="item">
                            <a href="index.jsp">首页 ></a>
                        </span>
                        <span class="item">下订单</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <title>填写订单</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="author" content="沐硕">
    <meta name="keywords" content="物美廉价">
    <meta name="description" content="一个值得相信的网站">
    <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="style.css">
    <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/Swiper/9.4.1/swiper-bundle.min.css">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500&family=Lato:wght@300;400;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="css/Animation.css">
    <script src="js/modernizr.js"></script>
</head>
<body>
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
    <jsp:include page="symol.jsp" />
</svg>

<div class="search-popup">
    <jsp:include page="search.jsp" />
</div>





<section class="shopify-cart checkout-wrap padding-large">
    <div class="container">
        <form class="form-group" action="${pageContext.request.contextPath}/SetOrder.do" method="post">
            <div class="row d-flex flex-wrap">
                <div class="col-lg-6">
                    <h2 class="display-7 text-uppercase text-dark pb-4">账单明细</h2>
                    <div class="billing-details">
                        <input type="hidden" name="user_id" value="${user_id}">
                        <label for="recipientName">收件人姓名：</label>
                        <input type="text" id="recipientName" name="recipient_name" class="form-control" required><br>
                        <label for="recipientAddress">收件地址：</label>
                        <input type="text" id="recipientAddress" name="recipient_address" class="form-control" required><br>
                        <label for="recipientPhone">收件电话：</label>
                        <input type="text" id="recipientPhone" name="recipient_phone" class="form-control" required><br>
                        <label for="notes">订单备注：</label><br>
                        <textarea id="notes" name="notes" class="form-control"></textarea><br>
                        <%-- <%--model.Order order = new model.Order();--%>
                        <%--order.generateOrderID();--%>
                        <%--%>--%>
                        <input type="hidden" name="order_id" value="${order.order_id}">

                        <button type="submit" class="btn btn-black btn-medium text-uppercase mb-3 btn-rounded-none">提交订单</button>
                    </div>
                </div>
            </div>
        </form>
    </div>
</section>

<jsp:include page="footer.jsp"/>

<script src="js/modernizr.js"></script>
</body>
</html>


<jsp:include page="footer.jsp"/>

<script src="js/modernizr.js"></script>
</body>
</html>
